using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace NCP.Model
{
    [Serializable]
    [SugarTable("LimitTime")]
    public partial class LimitTime : BaseModel2
    {

        /// <summary>
        /// 药品编码
        /// </summary>
        [SugarColumn(ColumnName = "DrugCode")]
        public string DrugCode { get; set; }

        /// <summary>
        /// 药品名称
        /// </summary>
        [SugarColumn(ColumnName = "DrugName")]
        public string DrugName { get; set; }

        /// <summary>
        /// 限制日期
        /// </summary>
        [SugarColumn(ColumnName = "LimitDate")]
        public DateTime LimitDate { get; set; }

        /// <summary>
        /// 限制日期前多少天
        /// </summary>
        [SugarColumn(ColumnName = "Days")]
        public decimal Days { get; set; } = 0;

        ///// <summary>
        ///// 是否有效 1是0否
        ///// </summary>
        //[SugarColumn(ColumnName = "ValidFlag")]
        //public string ValidFlag { get; set; } = "1";

        ///// <summary>
        ///// 操作人
        ///// </summary>
        //[SugarColumn(ColumnName = "OperCode")]
        //public string OperCode { get; set; }

        ///// <summary>
        ///// 操作时间
        ///// </summary>
        //[SugarColumn(ColumnName = "OperDate")]
        //public DateTime OperDate { get; set; }

    }
}